<template>
  <section class="view-box">
  </section>
</template>

<script>
import cache from "@cache";
export default {
  props: ["data"],
  data() {
    return {
      form: {}
    };
  },
  watch: {
    data: {
      handler(val) {
        if (val) {
          this.$api.get("flow_img.get_detail", { id: val }).then(res => {
            if (res.status === 1) {
              this.form = res.data.img;
              this.chooseList = res.data.items;
              this.parseChoose();
            }
          });
          this.$api.get("flow_img.get_sh_log", { id: val }).then(res => {
            if (res.status === 1) {
              this.logList = res.data.list;
            }
          });
        }
      },
      immediate: true
    }
  },
  methods: {
  },
  mounted() {
  }
};
</script>

<style lang="scss" scoped>
.view-box1 {
}
.headlist {
  position: relative;
}
.allImg {
  position: absolute;
  top: 10px;
  right: 10px;
}

.base-info-box {
}
.base-info-box h1,
.flowImg-box h1 {
  height: 48px;
  line-height: 48px;
  font-size: 18px;
  font-weight: 400;
  color: #1598db;
  padding-left: 20px;
  background-color: #f8f8f8;
}
.base-info-box .viewbox-body,
.flowImg-box .viewbox-body {
  //   padding: 10px 20px;
}
.loading {
  width: 500px;
  height: 220px;
  line-height: 220px;
  font-size: 25px;
  text-align: center;
}
.flowImg-box /deep/ td.el-table__expanded-cell {
  padding-right: 0px !important;
}
.imgedit {
  margin-left: 10px;
  padding: 4px 6px;
  border: 1px solid #dcdfe6;
}
.imgedit:hover {
  cursor: pointer;
  border: 1px solid #c6e2ff;
  color: #409eff;
  background: #ecf5ff;
}
</style>



